package com.luo.stock.service;

import com.luo.stock.vo.resp.PageResult;
import com.luohai.stock.pojo.domain.*;
import com.luohai.stock.pojo.vo.R;
import com.luohai.stock.pojo.vo.stockOuterMarketVo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @Description
 * @Author 奥观海
 * @Date 2024/9/16
 */
public interface StockService {
    R<List<InnerMarketDomain>> getIndexAll();

    R<List<StockBlockDomain>> getSectorAll();

    R<PageResult<StockUpdownDomain>> getStockPage(Integer page, Integer pageSize);

    R<List<StockUpdownDomain>> getStock4Increase();

    void stockExport(Integer page, Integer pageSize, HttpServletResponse response);

    R<Map<String,List>> getTradeAmt();

    R<Map> getStockeUpdown();

    R<Map> getStockUpdownCount();

    R<List<Stock4MinuteDomain>> getTimeSharing(String code);

    R<List<Stock4EvrDayDomain>> getDkline(String code);

    R<List<stockOuterMarketVo>> getOuterMarket();

    R<List<Map>> getSearch(String searchStr);

    R<StockBusinessDomain> getDescribe(String code);

    R<List<InnerStockWeekDomain>>  getWeekkline(String code);

    R<InnerStockDomain> getSecondDetail(String code);

    R<List<StockWaterDomain>> getscreenSecond(String code);
}
